package com.gem.day05;

//第三方组件lombok,可以自动生成get/set,hashCode,equals,toString等代码
//@Data
//实体类==>Entity
public class User {
	private long id;
	private String username;
	private String password;
	private int status;

	public User() {
	}

	public User(long id, String username, String password, int status) {
		this.id = id;
		this.username = username;
		this.password = password;
		this.status = status;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}
